//
//  ASIHTTPRequest+NSString.m
//  YouHui
//
//  Created by  on 11-11-21.
//  Copyright (c) 2011年 netease. All rights reserved.
//

#import "ASIHTTPRequest+NSString.h"

@implementation ASIHTTPRequest (NSString)

+ (id) requestWithString:(NSString *)urlString{
	urlString = [urlString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
	
#ifdef DEBUG
	NSLog(@"conn urlstring %@ %@",urlString,[NSDate date]);
#endif
	return [ASIHTTPRequest requestWithURL:[NSURL URLWithString:urlString]];
}


@end
